'''
Created on Jul 7, 2012

@author: peng
'''
import os
import shutil

desc_folder = '/home/baina/test/bak/full/'
f = open('/home/baina/test/1.txt')

for line in f.readlines():
    image_file = '/home/baina/img/' + line.replace('\n', '')
    shutil.copy2(image_file, desc_folder)
    os.remove(image_file)
